var uls=document.getElementById("uls");
var str='';
var a='这是一个a';
var p='这是一个p';
str+='<li style="background: red;">';
str+='<a href="#">'+a+'</a>';
str+='<p>'+p+'</p>';
str+='</li>';
uls.innerHTML+=str;

{
    let userName='张三';
    let userPwd='admin';
    console.log(`你好`);
    console.log(`${userName}==>${userPwd}`);
}
{
    let num1=11;
    let num2=13;
    console.log(`${num1+num2}`);

}
{
    let uls=document.getElementById("uls");
    var a='这是a';
    var p='这是p';
    uls.innerHTML+=`<li style="background: red;"><a href="#">${a}</a><p>${p}</p></li>`;
}
// {
//     alert(123);
//     alert`456`;  //()===``
// }
{
    let obj={
        userName:'张三',
        userAge:18
    }
    function fn(a,b,c){
        return a+'===>'+b+'===>'+c;
    }
    console.log(fn(obj.userName,obj.userAge));
    console.log(fn`list admin${obj.userName}${obj.userAge}`);
}